/*
 * Group 3, User Interface Programming II (vt11)
 * Pooya | Flora | Monica | Can
 */
package vical.view.tutorial;

import java.awt.Color;
import java.awt.Graphics;
import javax.swing.Action;
import javax.swing.JButton;

/**
 * The special Button for tutorial
 * 
 * @author Can
 */
public class TutorialButton extends JButton {

    public TutorialButton(Action action) {
        super(action);
        this.init();
    }

    public TutorialButton(String str) {
        super(str);
        this.init();
    }

    private void init() {
        this.setBackground(Color.GRAY);
        this.setForeground(Color.YELLOW);
    }

    @Override
    protected void paintComponent(Graphics g) {
        super.paintComponent(g);
    }
}
